<div class="modal-content">
    <div class="modal-header">
        <h4 class="modal-title">添加学年学期</h4>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">×</span>
        </button>
    </div>
    <div class="modal-body">
        <div class="form-group row">
            <label class="col-sm-2 col-form-label">类型：</label>
            <div class="col-sm-4">
                <select class="form-control" ng-model="form.prop_key" form-check="must" form-check-alert="类型不能为空" ng-change="showProp()">
                    <option value="">==请选择==</option>
                    <option value="STU_YEAR">学年</option>
                    <option value="STU_TERM">学期</option>
                </select>
            </div>
            <label class="col-sm-2 col-form-label xuenian">学年：</label>
            <label class="col-sm-2 col-form-label xueqi">学期：</label>
            <div class="col-sm-4">
                <select class="form-control" ng-model="form.real_value" ng-options="year.value as year.name for year in yearList" ng-change="getName()">
                    <option value="">==请选择==</option>
                </select>
            </div>
        </div>
        <div class="form-group row">
            <label class="col-sm-2 col-form-label">名称:</label>
            <div class="col-sm-10">
            	<input type="text" ng-model="form.prop_value" class="form-control" form-check="must" form-check-alert="名称不能为空">
            </div>
        </div>
        <!-- <div class="form-group row">
            <label class="col-sm-2 col-form-label">组:</label>
            <div class="col-sm-10">
            	<input type="text" ng-model="form.prop_group" placeholder="默认：SCORE" class="form-control" form-check="must" form-check-alert="组不能为空">
            </div>
        </div>-->
        <div class="form-group row">
           <!-- <label class="col-sm-2 col-form-label">类型：</label>
            <div class="col-sm-4">
                <select class="form-control" ng-model="form.prop_key" form-check="must" form-check-alert="类型不能为空">
                 	<option value="">==请选择==</option>
                     <option value="STU_YEAR">学年</option>
                     <option value="STU_TERM">学期</option>
                 </select>
            </div>-->
            <label class="col-sm-2 col-form-label">状态：</label>
            <div class="col-sm-4">
                <select class="form-control" ng-model="form.status" form-check="must" form-check-alert="状态不能为空">
                 	<option value="">==请选择==</option>
                     <option value="0">当前使用</option>
                     <option value="1">其他</option>
                 </select>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button ng-click="saveForm()" type="button" class="btn btn-success"><i class="iconfont icon-correct"></i>&nbsp;保存</button>
    </div>
</div>